package lumis.service.rss;

/**
 * Represents a RSS object
 * 
 * @version $Revision: 8618 $ $Date: 2007-12-18 11:34:20 -0200 (Tue, 18 Dec 2007) $
 * @since 4.1.0
 */
public class RssConfig
{
	protected String id;
	protected String primaryKeyFieldId;
	protected String name;
	protected String header;
	protected int position = 0;
	protected String serviceId;
	protected String servInstanceId;
	protected String sourceId;
	protected String titleFieldId;
	protected String descriptionFieldId;
	protected String linkFieldId;
	protected String pubDateFieldId;
	protected String tableName;
	protected String locale;
	protected int maxRows = 50;
	protected String serviceInstanceField;
	protected String rssServiceInstanceId;
	protected String filter;
	protected String path;
	
	public String getId()
	{
		return id;
	}
	
	public void setId(String id)
	{
		this.id = id;
	}
	
	public String getPrimaryKeyFieldId()
	{
		return primaryKeyFieldId;
	}
	
	public void setPrimaryKeyFieldId(String itemId)
	{
		this.primaryKeyFieldId = itemId;
	}
	
	public String getName()
	{
		return name;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public String getHeader()
	{
		return header;
	}
	
	public void setHeader(String header)
	{
		this.header = header;
	}
	
	public int getPosition()
	{
		return position;
	}
	
	public void setPosition(int position)
	{
		this.position = position;
	}
	
	public String getServiceId()
	{
		return serviceId;
	}
	
	public void setServiceId(String serviceId)
	{
		this.serviceId = serviceId;
	}
	
	public String getServInstanceId()
	{
		return servInstanceId;
	}
	
	public void setServInstanceId(String servInstanceId)
	{
		this.servInstanceId = servInstanceId;
	}
	
	public String getSourceId()
	{
		return sourceId;
	}
	
	public void setSourceId(String source)
	{
		this.sourceId = source;
	}
	
	public String getTitleFieldId()
	{
		return titleFieldId;
	}
	
	public void setTitleFieldId(String title)
	{
		this.titleFieldId = title;
	}
	
	public String getDescriptionFieldId()
	{
		return descriptionFieldId;
	}
	
	public void setDescriptionFieldId(String description)
	{
		this.descriptionFieldId = description;
	}
	
	public String getLinkFieldId()
	{
		return linkFieldId;
	}
	
	public void setLinkFieldId(String link)
	{
		this.linkFieldId = link;
	}
	
	public String getPubDateFieldId()
	{
		return pubDateFieldId;
	}
	
	public void setPubDateFieldId(String pubDate)
	{
		this.pubDateFieldId = pubDate;
	}
	
	public String getTableName()
	{
		return tableName;
	}
	
	public void setTableName(String table)
	{
		this.tableName = table;
	}
	
	public String getLocale()
	{
		return locale;
	}
	
	public void setLocale(String locale)
	{
		this.locale = locale;
	}
	
	public int getMaxRows()
	{
		return maxRows;
	}
	
	public void setMaxRows(int maxRows)
	{
		this.maxRows = maxRows;
	}
	
	public String getServiceInstanceField()
	{
		return serviceInstanceField;
	}
	
	public void setServiceInstanceField(String serviceInstanceField)
	{
		this.serviceInstanceField = serviceInstanceField;
	}
	
	public String getRssServiceInstanceId()
	{
		return rssServiceInstanceId;
	}
	
	public void setRssServiceInstanceId(String rssServiceInstanceId)
	{
		this.rssServiceInstanceId = rssServiceInstanceId;
	}
	
	public String getFilter()
	{
		return filter;
	}
	
	public void setFilter(String filter)
	{
		this.filter = filter;
	}	

	public String getPath()
	{
		return path;
	}
	
	public void setPath(String path)
	{
		this.path = path;
	}	
}

